<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath }/css/contents.css" />

<link rel="stylesheet"
	href="${pageContext.request.contextPath }/js/development-bundle/themes/base/jquery-ui.css">
		
<script
	src="<%=request.getContextPath() %>/js/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js"></script>
	
<script src="${pageContext.request.contextPath }/js/jquery-1.8.2.js"></script>
<script>
	$(function() {
		$(".dateField")
				.datepicker(
						{
							datrFormat : "yy-mm-dd",
							showOn : "button",
							buttonImage : "${pageContext.request.contextPath}/js/development-bundle/demos/images/calendar.gif",
							buttonImageOnly : true,
							changeYear : true,
							changeMonth : true,
							autoSize : true,
							minDate : '2010-01-01',
							maxDate : '2100-12-12',
							showAnim : "clip"
						});
	});
</script>
<title>상품등록 페이지</title>
</head>
<body>
	<DIV id="wrap">
		<DIV id="productForm">
			<FORM action="">
			<INPUT type="hidden" name="게시글번호"/>
				<TABLE>
					<tr>
						<th>판매자 아이디</th>
						<td><INPUT type="text" name=""/></td>
					</tr>
					
					<tr>
						<th>상품 분류</th>
						<td>
						<select	name="옵션들의 벨류에 코드 번호 앞자리 생성 히든칸의 판매코드랑 결합시켜서 디비에 저장" 
						style="width: 120px; height: 22px" >
							<option value="">선택해 주세요.</option>
							<option value="">채 소</option>
							<option value="">쌀 · 잡 곡</option>
							<option value="">정 육 · 계 란</option>
							<option value="">가 공 식 품</option>
							<option value="">수 산 물</option>
						</select>
						<INPUT class="hideCode" type="text" name="" value="이칸만 히든으로해서 자동으로 판매 코드번호 생성"/>	
						</td>
					</tr>
					
					<tr>
						<th>상  품  명</th>
						<td><INPUT type="text" name="" /></td>
					</tr>
					
					<tr>
						<th>입고일자</th>
						<td><INPUT type="date" name="" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}"/></td>
					</tr>
					
					<tr>
						<th>기준 단위 설정</th>
						<td><INPUT class="basicCount" type="text" name="" />
						<select	name="" style="width: 70px; height: 22px" >
							<option value="">선택</option>
							<option value="">g</option>
							<option value="">㎏</option>
							<option value="">㎖</option>
							<option value="">ℓ</option>
							<option value="">Box</option>
							<option value="">마리</option>
							<option value="">개</option>
						</select>
						</td>
					</tr>
					
					<tr>
						<th>기준 단위 가격</th>
						<td><INPUT type="text" name="" />원</td>
					</tr>
					
						<tr>
						<th>내      용</th>
						<td><TEXTAREA rows="30" cols="100%"></TEXTAREA> </td>
					</tr>
					
					<tr>
						<th>상품 이미지</th>
						<td><INPUT type="file" /></td>
					</tr>
					
					<tr>
						<td colspan="2" ><INPUT class="submit" type="submit" value="등록하기"  /></td>
					</tr>
					
				</TABLE>
			</FORM>
		</DIV>
	</DIV>
</body>
</html>